home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_02_01
/
2n01048a
< prev
next >
Wrap
Text File
|
1990-11-12
|
170b
|
14 lines
function search(var s : string) : integer;
var
i : integer;
begin
i := MAX;
while (i > 0) and (s <> table[i]) do
i := i - 1;
search := i;
end;